#include "StdAfx.h"
#include "Action.h"

//@author A0086933U
Action::Action(int type, Transaction T):_T(T.getAmount(), T.getSerialNo(), T.getDateTime(), T.getType(), T.getCategory(), T.getAccount(), T.getAccountFrom(), T.getAccountTo())
{
	_type = type;
}


Action::~Action(void)
{
}

int Action::getType()
{
	return _type;
}
Transaction Action::getTransaction()
{
	return _T;
};